/*
 * 
 */
function init(){
	document.getElementById("btnList").onclick = function(){
		location.href = 'index2.jsp?inc_center=./guest/list.jsp';		
	}
}

var url = "index2.jsp?inc_center=./guest/";

function del(serial){
	var f = confirm("정말 삭제하시겠습니까?");
	
	if(f){
		location.href= url + "delete_result.jsp&serial=" + serial;
	}else{
		alert("삭제가 취소되었습니다.");
		location.href= url + "list.jsp";
	}
}